@charset "utf-8";
/* 初始化 */
body,
div,
ul,
li,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
select,
p,
dl,
dt,
dd,
a,
img,
button,
form,
table,
th,
tr,
td,
tbody,
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font: 12px/1.5 'Microsoft YaHei', '宋体', Tahoma, Arial, sans-serif;
  color: #555;
  background-color: #f7f7f7;
}
/*去除边框*/
fieldset,
img,
input,
button,
textarea {
  border: none;
  /*去除的蓝色小边框*/
  outline-style: none;
}
/*禁止表单域缩放*/
textarea {
  resize: none;
}
a {
  text-decoration: none;
  color: #969696;
  /* 取消链接高亮  */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* 图片自适应 */
img {
  width: 100%;
  /*解决图片底部对其问题*/
  display: block;
  border: none;
}
ul,
ol {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-decoration: none;
  font-weight: normal;
  font-size: 100%;
}
em,
i {
  font-style: normal;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
/*清除浮动*/
.clearfix:before,
.clearfix:after {
  content: '';
  display: table;
}
.clearfix:after {
  clear: both;
}
/*单行溢出*/
.one-txt-cut {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/*多行溢出*/
.txt-cut {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.jd_sprit {
  background: url('../images/jd-sprites.png') 0px 0px no-repeat;
  background-size: 200px 200px;
}
body {
  height: 2000px;
}
.jd_container {
  width: 100%;
  height: 100%;
  max-width: 640px;
  min-width: 320px;
  margin: 0 auto;
  padding-top: 44px;
  padding-bottom: 55px;
}
.jd_header {
  position: fixed;
  z-index: 999;
  top: 0;
  max-width: 640px;
  height: 44px;
  width: 100%;
  background-color: #f23030;
  display: flex;
}
.jd_header .icon_left,
.jd_header .icon_right {
  width: 44px;
  text-align: center;
  line-height: 44px;
  font-size: 24px;
  color: #fff;
}
.jd_header .title {
  flex: 1;
  color: #fff;
  font-size: 18px;
  line-height: 44px;
  text-align: center;
}
.jd_footer {
  height: 55px;
  position: fixed;
  width: 100%;
  max-width: 640px;
  background-color: #fff;
  bottom: 0;
}
.jd_footer ul {
  display: flex;
  height: 100%;
}
.jd_footer ul li {
  flex: 1;
  text-align: center;
  padding-top: 10px;
}
.jd_footer ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #666;
}
.jd_footer ul li a i {
  font-size: 16px;
}
.jd_footer ul li.now a {
  color: #f23030;
}
body {
  background-color: #eee;
}
.detail-header {
  background-color: #fff;
}
.detail-header .title {
  color: #333;
}
.detail-header .back {
  background: url('../images/back.png') no-repeat center center;
  background-size: 20px 20px;
}
.detail-header .menu {
  background: url('../images/more.png') no-repeat center center;
  background-size: 20px;
}
.detail-banner img {
  width: 100%;
}
.detail-info {
  display: flex;
  padding: 10px;
  height: 55px;
  background-color: #fff;
}
.detail-info p {
  flex: 7;
  padding-right: 10px;
  font-size: 14px;
}
.detail-info p img {
  width: 30px;
  float: left;
}
.detail-info a {
  position: relative;
  flex: 1;
  padding-left: 10px;
  padding-top: 26px;
  border-left: 1px solid #ccc;
}
.detail-info a::before {
  position: absolute;
  left: 10px;
  top: 0;
  font-size: 24px;
}
.detail-price {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 10px;
}
.detail-price .money {
  color: #f23030;
  font-size: 16px;
}
.detail-price .down {
  padding: 1px 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.detail-select {
  background-color: #fff;
  padding: 10px;
}
.detail-select h5 {
  padding-left: 10px;
}
.detail-select .color div span {
  float: left;
  padding: 5px 7px;
  background-color: #e1e1e1;
  margin: 5px;
  border-radius: 3px;
  font-size: 14px;
}
.detail-select .num {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  height: 30px;
  line-height: 30px;
  box-sizing: content-box;
}
.detail-select .num .add span {
  float: left;
  width: 30px;
  height: 30px;
  background-color: #e1e1e1;
  text-align: center;
  line-height: 30px;
  font-size: 20px;
  cursor: pointer;
}
.detail-select .num .add span:nth-child(2) {
  font-size: 14px;
}
.detail-address {
  font-size: 14px;
  padding: 10px;
  margin-top: 20px;
  background-color: #fff;
}
.detail-address .path {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.detail-address .path span {
  flex: 1;
}
.detail-address .path .img {
  flex: 1;
}
.detail-address .path .img img {
  width: 20px;
  float: right;
}
.detail-address .path .text {
  flex: 5;
}
.detail-address .path .text p:nth-child(1) {
  color: #333;
}
.detail-address .path .text .now {
  color: #f23030;
}
.detail-address .weight span {
  color: #000;
}
.detail-comment {
  margin-top: 10px;
  background-color: #fff;
  padding-bottom: 10px;
}
.detail-comment .com-title {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 10px;
}
.detail-comment .com-title .left span {
  color: #f23030;
  font-size: 14px;
}
.detail-comment .com-title .right {
  font-size: 14px;
}
.detail-comment .item {
  padding: 10px 0;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
.detail-comment .item .user {
  margin-bottom: 5px;
}
.detail-comment .item .user .start {
  display: inline-block;
  background: url('../images/start.png') no-repeat;
  background-size: 100%;
  width: 60px;
  height: 13px;
}
.detail-comment .item .text {
  margin-bottom: 10px;
}
.detail-comment .item .list img {
  width: 70px;
  float: left;
  margin: 5px;
}
.detail-comment .com-all {
  width: 100px;
  height: 25px;
  border-radius: 13px;
  margin: 10px auto;
  border: 1px solid #ccc;
  text-align: center;
  line-height: 23px;
}
.detail-introduce {
  background-color: #fff;
  margin-top: 20px;
}
.detail-introduce .title {
  display: flex;
  height: 40px;
  text-align: center;
  line-height: 40px;
}
.detail-introduce .title span {
  flex: 1;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
.detail-footer {
  border-top: 1px solid #ccc;
  display: flex;
  text-align: center;
  line-height: 55px;
}
.detail-footer .icon {
  flex: 4;
  display: flex;
}
.detail-footer .icon span {
  box-sizing: border-box;
  flex: 1;
  padding-top: 30px;
  line-height: 20px;
  background: url('../images/server.png') no-repeat center 10px;
  background-size: 20px;
  color: #333;
  font-size: 12px;
}
.detail-footer .icon .shop {
  background-image: url('../images/shop.png');
}
.detail-footer .icon .cart {
  background-image: url('../images/car.png');
}
.detail-footer .cart {
  flex: 3;
  color: #fff;
  font-size: 14px;
  background-color: #ff9600;
}
.detail-footer .buy {
  flex: 3;
  color: #fff;
  font-size: 14px;
  background-color: #f23030;
}
